package com.oopnet.template.test.proxy;

import java.rmi.Naming;

public class Client {
	public static void main(String[] args) {
		
	}
	
	public void go(){
		try {
			MyRemote service = (MyRemote) Naming.lookup("rmi://127.0.0.1/RemoteService");
			service.sayHello();
		} catch (Exception e) {
			// TODO: handle exception
		}
	}
}
